package com.buwei.module.rbac.ui.dto;

import javax.validation.constraints.NotNull;

import com.buwei.module.rbac.domain.entity.Role;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldDefaults;

@NoArgsConstructor
@AllArgsConstructor
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class UserCreationDTO {

	@NotNull
	String username;

	@NotNull
	Role role;

	@NotNull
	String password;

}
